package com.muyu.remote.factory;

import com.muyu.danmo.domain.DanmoInformationPhotos;
import com.muyu.remote.DanmoInformationPhotosSerice;
import org.springframework.cloud.openfeign.FallbackFactory;

import java.util.List;

/**
 * DanmoInformationPhotosFactory
 *
 * @author LeYang
 * on 2025/4/4
 */
public class DanmoInformationPhotosFactory  implements FallbackFactory<DanmoInformationPhotosSerice> {
    @Override
    public DanmoInformationPhotosSerice create(Throwable cause) {
        return new DanmoInformationPhotosSerice() {
            @Override
            public List<DanmoInformationPhotos> selectPhotos(List<Long> longs) {
                return this.selectPhotos(longs);
            }
        };
    }
}
